package com.weijianhuawen.wjblog.admin.mode.vo.wiki;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-11-11 22:20
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "知识库目录更新请求实体")
public class UpdateWikiCatalogReqVo {
    //  知识库id
    @NotNull(message = "知识库id不能为空！")
    private Long id;

    // 目录
    private List<UpdateWikiCatalogItemReqVo> catalogs;
}
